.class Lcom/nemustech/regina/ReginaLauncherSettings$12$1;
.super Ljava/lang/Object;
.source "ReginaLauncherSettings.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ReginaLauncherSettings$12;->onPreferenceClick(Landroid/preference/Preference;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/nemustech/regina/ReginaLauncherSettings$12;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaLauncherSettings$12;)V
    .locals 0
    .parameter

    .prologue
    .line 364
    iput-object p1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$12$1;->this$1:Lcom/nemustech/regina/ReginaLauncherSettings$12;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 366
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$12$1;->this$1:Lcom/nemustech/regina/ReginaLauncherSettings$12;

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncherSettings$12;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 367
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$12$1;->this$1:Lcom/nemustech/regina/ReginaLauncherSettings$12;

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncherSettings$12;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->clear()Landroid/content/SharedPreferences$Editor;

    .line 369
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$12$1;->this$1:Lcom/nemustech/regina/ReginaLauncherSettings$12;

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncherSettings$12;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$12$1;->this$1:Lcom/nemustech/regina/ReginaLauncherSettings$12;

    iget-object v1, v1, Lcom/nemustech/regina/ReginaLauncherSettings$12;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->setToDefaluts(Landroid/content/Context;Landroid/content/SharedPreferences$Editor;)Z

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    .line 370
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$12$1;->this$1:Lcom/nemustech/regina/ReginaLauncherSettings$12;

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncherSettings$12;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->finish()V

    .line 372
    :cond_0
    return-void
.end method
